// AI Helicopter configuration files
// by Holger Sandmann (hsandman@sfu.ca) 
// and Doug Callihan
// 
// Version 1, May 2003
//
// for Sikorsky UH-60 Blackhawk GMax
// by Daniel M. Dunn, dd@bac-f6.com
//
// based on Stemme motor glider aircraft.cfg
// by Al Kaiser, kaiser@va-works.com or http://www.va-works.com/
//
// !!!Copyright remains with the original authors!!!

[fltsim.0]
title=MHAI AH64 HAA
sim=stemme_as_helicopter_1
model=
panel=
sound=
texture=HAA
prop_anim_ratio=-1.76
atc_id_color=
ui_manufacturer=Westland
ui_variation=Hellenic Army
ui_type=
atc_heavy=0
atc_airline=ARMY
atc_flight_number=
atc_id_enable=1
atc_id=
description=The Westland WAH-64 Apache By Tom Woods and Mark Adams / Hellenic Army textures by Kostis Prassas
atc_parking_codes=AH64,M004
atc_parking_types=RAMP

[General]
atc_type=APACHE
atc_model=H64
performance=Cruise Speed\t115 kts\nMaximum Range\t435 nm\nService Ceiling\t20,000 ft\nHovering Ceiling\t19,600\nMax Gross Weight \t3,200 lb\nHook Load Limit \t1, 500 Ib\nSeating\t\tUp to 5\nUseful Load\t1,498 lb\n



//---- misc tweaked parameters 

[WEIGHT_AND_BALANCE]
reference_datum_position=0.000000,0.000000,0.000000
empty_weight_CG_position= 0.000, 0.000, 0.000
max_number_of_stations=50
station_load.0=0.000000,0.000000,0.000000,0.000000

max_gross_weight=1450		// (pounds)
empty_weight=550

;Moments of Inertia
empty_weight_pitch_MOI=2600
empty_weight_roll_MOI=2400
empty_weight_yaw_MOI=5010
empty_weight_coupled_MOI=0.0
CG_forward_limit=0.000
CG_aft_limit=1.000

[Reference Speeds]
flaps_up_stall_speed=40
full_flaps_stall_speed=35
cruise_speed=115
max_indicated_speed=180.000000

[flight_tuning]
cruise_lift_scalar=0.7 		// was 1.0
parasite_drag_scalar=0.5 	// was 1.0
induced_drag_scalar=0.5 	// was 1.0
elevator_effectiveness=1.0 
aileron_effectiveness=1.0  
rudder_effectiveness=1.0   
pitch_stability=1.0
roll_stability=1.0
yaw_stability=1.0
elevator_trim_effectiveness=1.0 
aileron_trim_effectiveness=1.0
rudder_trim_effectiveness=1.0



//---- parameters from Sikorsky, tweaked

//0  Class                        <0=none,1=wheel, 2=scrape, 3=skid>
//1  Longitudinal Position        (feet)
//2  Lateral Position             (feet)
//3  Vertical Position            (feet)
//4  Impact Damage Threshold      (Feet Per Minute)
//5  Brake Map                    (0=None, 1=Left, 2=Right)
//6  Wheel Radius                 (feet)
//7  Steer Angle                  (degrees)
//8  Static Compression           (feet)  (0 if rigid)
//9  Max/Static Compression Ratio
//10 Damping Ratio                (0=Undamped, 1=Critically Damped)
//11 Extension Time               (seconds)
//12 Retraction Time              (seconds)
//13 Sound Type
//14 Airspeed limit for retraction     (KIAS)
//15 Airspeed that gear gets damage at (KIAS)

[contact_points]
point.0=1.0,-30.679,0.0,-5.325,1852.0,0.0,0.75,60.0,0.3,0.75,0.45,3.0,3.000 000,0.000000,0.000000,0.0
point.1=1.0,3.6,-3.6,-6.35,1652.034249,1.0,1.0,0.0,0.5,0.75,0.85,3.00000 0,3.000000,2.000000,0.000000,0.0
point.2=1.0,3.6,3.6,-6.35,1652.034249,2.0,1.0,0.0,0.5,0.75,0.85,3.00000 0,3.000000,3.000000,0.000000,0.0

static_pitch=0.0
static_cg_height=5.8
gear_system_type=1

//[contact_points]
//point.0= 1.000, -8.00, 0.000, -5.2, 1875.173, 0.000, 0.523, 0.000, 0.366, 2.500, 1.173, 3.000, 3.000, 0.000, 0.000, 0.000
//point.1= 1.000, 10.917, -7.833, -5.60, 1875.173, 1.000, 0.523, 0.000, 0.538, 2.500, 1.309, 3.000, 3.000, 2.000, 0.000, 0.000
//point.2= 1.000, -1.917, 7.833, -5.583, 1875.173, 2.000, 0.523, 0.000, 0.538, 2.500, 1.309, 3.000, 3.000, 3.000, 0.000, 0.000
//point.3= 2.000, 0.917, -20.917, 7.583, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 5.000, 0.000, 0.000
//point.4= 2.000, 0.917, 20.917, 7.583, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 6.000, 0.000, 0.000
//point.5= 2.000, -21.333, 0.000, -5.083, 787.402, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 9.000, 0.000, 0.000
//point.6= 2.000, 12.500, 0.000, -5.000, 787.402, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4.000, 0.000, 0.000

[Views]
eyepoint = 12, 2, 1

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit
light.0=3, 0.63, -7.63, 0.19, fx_navred ,
light.1=3, 0.41, 7.63, 0.21, fx_navgre ,
light.2=7, -6.80, -4.37, 2.35, fx_strobe ,
light.3=7 -6.80, 4.33, 2.37, fx_strobe ,
light.4=1, -7.09, -4.37, 2.50, fx_beacon ,
light.5=1, -7.06, 4.33, 2.48, fx_beacon ,
light.6=3, -33.92, 0.00, 5.94, fx_navwhi ,
light.7=4, 6.42, 0.00, 1.67, fx_vclighth ,
light.8=4, 11.13, 0.00, 1.00, fx_vclighth ,
light.9=9, 13.47, 0.00, -3.49, fx_ah64gun ,
light.10=8, 10.00, 2.32, -2.00, fx_LZsmoke ,
light.11=10,-12.36, 0.00, -3.42, fx_flare , 
light.12=2, 5.17, 3.24, -3.08, ps_hellfire2 , 

[effects]
water=fx_spray
dirt = fx_tchdrt
//concrete = fx_tchdrt, 1
//touchdown = fx_dustcloud_m, 1
startup=fx_engstrt

//touchdown = fx_tchdwn, 1
//landrotorwash = fx_rtr_lnd
//waterrotorwash = fx_rtr_wtr
wake=fx_wake

[exits]
number_of_exits=8
exit_rate.0=1
exit_rate.1=1
exit_rate.2=1.2
exit_rate.3=1.2
exit_rate.4=1.3
exit_rate.5=1.3
exit_rate.6=1.4
exit_rate.7=1.4



//---- parameters from Stemme motor glider, tweaked

[fuel]
LeftMain=-0.250000,-2.100000,2.500000,6.000000,0.000000
RightMain=-0.250000,2.100000,2.500000,6.000000,0.000000
fuel_type=1.000000
number_of_tank_selectors=1
electric_pump=1

[airplane_geometry]
wing_area=280 				// was 201.000000
wing_span=57.000000
wing_root_chord=4.916670
wing_dihedral=3.499146
wing_incidence=3.999268 		// was 2.999268
wing_twist=-1.994019
oswald_efficiency_factor=1.564814 	// was 1.064814 
wing_winglets_flag=0
wing_sweep=0.000000
wing_pos_apex_lon=1.229000
wing_pos_apex_vert=0.000000
htail_area=16.000000
htail_span=7.916667
htail_pos_lon=-16.083333
htail_pos_vert=0.000000
htail_incidence=0.000000
htail_sweep=0.000000
vtail_area=16.000000
vtail_span=4.560702
vtail_sweep=0.000000
vtail_pos_lon=-14.750000
vtail_pos_vert=4.166667
elevator_area=15.000000
aileron_area=11.740000
rudder_area=6.000000
elevator_up_limit=20.000447 		//was 25.000447
elevator_down_limit=18.998903
aileron_up_limit=17.996227
aileron_down_limit=13.000035
rudder_limit=20.995472
elevator_trim_limit=25.0 		//was 19.497754 
spoiler_limit=70.000000
spoilerons_available=0
aileron_to_spoileron_gain=0.000000
min_ailerons_for_spoilerons=0.000000
min_flaps_for_spoilerons=0.000000

[GeneralEngineData]
engine_type=0
Engine.0=6.000000,0.000000,0.000000
Engine.1=6.000000,0.000000,0.000000 // 'dummy' for tail rotor
fuel_flow_scalar=1.000000
min_throttle_limit=0.000000

[piston_engine]
power_scalar=1.0                    //Piston power scalar
cylinder_displacement=100.300000
compression_ratio=6.000000
number_of_cylinders=2
max_rated_rpm=2700.000000
max_rated_hp=45.000000 			// was 115
fuel_metering_type=1
cooling_type=1
normalized_starter_torque=0.300000
turbocharged=0
max_design_mp=0.000000
min_design_mp=0.000000
critical_altitude=0.000000
emergency_boost_type=0
emergency_boost_mp_offset=0.000000
emergency_boost_gain_offset=0.000000
fuel_air_auto_mixture=0
auto_ignition=0
max_rpm_mechanical_efficiency_scalar=1.000000
idle_rpm_mechanical_efficiency_scalar=1.000000
max_rpm_friction_scalar=1.000000
idle_rpm_friction_scalar=1.000000

[propeller]
thrust_scalar=1.0   			//Propeller thrust scalar
propeller_type=0
propeller_diameter=5.433000
propeller_blades=2
propeller_moi=3.350000
beta_max=29.800000
beta_min=17.000000
min_gov_rpm=700.000000
prop_tc=0.004000
gear_reduction_ratio=1.000
fixed_pitch_beta=0.000000
low_speed_theory_limit=80.000000
prop_sync_available=0
prop_deice_available=0
prop_feathering_available=1
prop_auto_feathering_available=0
min_rpm_for_feather=0.000000
beta_feather=90.000000
power_absorbed_cf=0.000000
defeathering_accumulators_available=1
prop_reverse_available=0
minimum_on_ground_beta=0.000000
minimum_reverse_beta=0.000000

[keyboard_response]
elevator=100.000000,180.000000
aileron=200.000000,1000.000000
rudder=200.000000,1000.000000

[autopilot]
default_bank_mode=0
default_pitch_mode=0
autopilot_available=1
flight_director_available=0
default_vertical_speed=700.000000
autothrottle_available=0
pitch_takeoff_ga=8.000000
max_pitch=10.000000
max_pitch_acceleration=1.000000
max_pitch_velocity_lo_alt=2.000000
max_pitch_velocity_hi_alt=1.500000
max_pitch_velocity_lo_alt_breakpoint=20000.000000
max_pitch_velocity_hi_alt_breakpoint=28000.000000
max_bank=25.000000
max_bank_acceleration=1.800000
max_bank_velocity=3.000000
max_throttle_rate=0.100000
nav_proportional_control=9.000000
nav_integrator_control=0.250000
nav_derivative_control=0.000000
nav_integrator_boundary=2.500000
nav_derivative_boundary=0.000000
gs_proportional_control=9.520000
gs_integrator_control=0.260000
gs_derivative_control=0.000000
gs_integrator_boundary=0.700000
gs_derivative_boundary=0.000000
yaw_damper_gain=0.000000

[direction_indicators]
direction_indicator.0=1,0
[brakes]
toe_brakes_scale=1.000000
parking_brake=1
[gear_warning_system]
gear_warning_available=0
pct_throttle_limit=0.099976
flap_limit_power=15.996982
flap_limit_idle=0.000000
[Flaps.0]
type=1
span-outboard=0.500000
extending-time=0.500000
system_type=3
[hydraulic_system]
normal_pressure=0.000000
[stall_warning]
type=0
[attitude_indicators]
attitude_indicator.0=1
[turn_indicators]
turn_indicator.0=1,0

[forcefeedback]
gear_bump_nose_magnitude = 6000
gear_bump_nose_direction = 18000
gear_bump_nose_duration = 250000
gear_bump_left_magnitude = 6000
gear_bump_left_direction = 35500
gear_bump_left_duration = 250000
gear_bump_right_magnitude = 6000
gear_bump_right_direction = 500
gear_bump_right_duration = 250000
ground_bumps_magnitude1 = 3250
ground_bumps_angle1 = 8900
ground_bumps_intercept1 = 5#
ground_bumps_slope1 = 0.48
ground_bumps_magnitude2 = 750
ground_bumps_angle2 = 9100
ground_bumps_intercept2 = 0.075
ground_bumps_slope2 = 1#
crash_magnitude1 = 10000
crash_direction1 = 1000
crash_magnitude2 = 10000
crash_direction2 = 9000
crash_period2 = 75000
crash_duration2 = 2500000
//
//Default FF Code installed by FFUtil 18:32:18 04-23-2004